#include <iostream>
#include <QApplication>

int main(int argc, char *argv[])
{
    std::cout << "=== SIMPLE TEST START ===" << std::endl;
    
    try {
        std::cout << "Creating QApplication..." << std::endl;
        QApplication app(argc, argv);
        std::cout << "QApplication created successfully" << std::endl;
        
        std::cout << "Calling app.exec()..." << std::endl;
        return app.exec();
        
    } catch (const std::exception& e) {
        std::cout << "Exception: " << e.what() << std::endl;
        return -1;
    } catch (...) {
        std::cout << "Unknown exception" << std::endl;
        return -2;
    }
}